<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<html>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<form id='fmTbRole'  action='TbRoleServlet' method='post'>
 <input type="hidden" name="method" id="method" value="${sessionScope.RoleId==null?'add':'edit'}" />
 <input type='text' name='roleId' id='roleId' value='${sessionScope.tbRole.roleId }' />
<table>
<tr><td colspan='2'></td></tr>
<tr>
    <td>角色名称</td>
    <td><input type='text' name='roleName' id='roleName' value='${sessionScope.tbRole.roleName }' /></td>
</tr>
<tr>
    <td>用户编号</td>
    <td><input type='text' name='userId' id='userId' value='${sessionScope.tbRole.userId }' /></td>
</tr>
<tr>
    <td>角色备注</td>
    <td><input type='text' name='roleMemo' id='roleMemo' value='${sessionScope.tbRole.roleMemo }' /></td>
</tr>
<tr>
    <td>创建时间</td>
    <td><input type='text' name='createTime' id='createTime' value='${sessionScope.tbRole.createTime }' /></td>
</tr>
<tr>
    <td  align="center" colspan='2' ><input type="submit" name="btsubmit" id="btsubmit" value="${param.RoleId==null?'添加':'修改'}" /><input type='reset' value='重置' /><input type='button' value='返回' onclick='history.go(-1);' /></td>
</tr></table>
</form><jsp:include page="../foot.jsp"></jsp:include>
</body></html>